Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Conversation

@smarnach
Copy link
Contributor

@smarnach smarnach commented Nov 4, 2016

Testing instructions are included in the README.md file.

Copy link
Contributor

@bdero bdero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of tiny change requests, one to work around a bug in Ansible. I was able to complete the test playbook successfully though. :)

wait_for:
path: "{{ LOAD_BALANCER_CERTS_DIR }}/{{ TEST_DOMAIN }}.pem"
timeout: 360
- name: wait for haproxy to be restartet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo: s/restartet/restarted

- name: start pydoc as test backend on the server
command: nohup pydoc -p 5000
async: 45
poll: 0
Copy link
Contributor

@bdero bdero Nov 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I think I ran into this bug with ansible==2.0.1.0 on this async task:

fatal: [haproxy-test.bdero.me]: FAILED! => {"changed": false, "failed": true, "msg": "The async task did not return valid JSON: No JSON object could be decoded"}

I was able to steer around the problem by appending become: False. Can you add it in here since escalating to root isn't necessary for this task anyway?

@smarnach
Copy link
Contributor Author

smarnach commented Nov 5, 2016

@bdero Thanks for you comments! The issues are fixed in the latest commit.

@bdero
Copy link
Contributor

bdero commented Nov 5, 2016

👍

  • I tested this: I ran the integration test playbook successfully following the instructions in the readme.
  • I read through the code
  • I checked for accessibility issues N/A
  • Includes documentation

@smarnach smarnach merged commit 4bbeb21 into master Nov 5, 2016
@UmanShahzad UmanShahzad deleted the smarnach/tests branch March 28, 2018 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants